package com.fbee.smartcommunities.service;

import com.fbee.smartcommunities.entity.Cart;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 购物车 服务类
 * </p>
 *
 * @author 汪佳泉
 * @since 2024-08-26
 */
public interface CartService extends IService<Cart> {

    Boolean addGoodToCart(Long goodId,Long openId,Integer count);

    List<Cart> getCartByUid(Long uid);
}
